package com.bee.beeAuth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bee.beeAuth.entity.SysMenu;
import com.bee.beeAuth.entity.out.MenuTree;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author 陈国松
 * @since 2022-10-27
 */
public interface SysMenuService extends IService<SysMenu> {
    /**
     * 根据用户id构建菜单树
     * @param userId
     * @return
     */
    List<MenuTree> selectMenuTreeByUserId(String userId);
}
